xend: Don't use -q flag to bootloader if activating text console.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Apr 2007 14:12:48 +0000 (15:12 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 27 Apr 2007 14:12:48 +0000 (15:12 +0100)
commit3734a7eda89cdaa432709c226da75a71533fc03c
tree14ddb9ecc8571a7be7acdff488ab62b7e02475d0
parent1341c96dca31df93e68c20fac59bacec3c4b0762
xend: Don't use -q flag to bootloader if activating text console.

In Xen 3.0.3 series release, if one did 'xm create -c someguest' then
you would be shown the pygrub boot menu, allowing one to pick a
kernel. If you didn't use the -c arg, then it'd just pick the default
kernel.

In Xen 3.0.5 testing, xm is forcing the addition of the '-q' flag
whenever the 'bootargs' parameter is not given in the config file. So
if one does not have 'bootargs' specified, and one uses 'xm create -c
someguest' you never get to see the pygrub boot menu.

This patch fixes 'xm create' so that it does not add the '-q' flag
to the bootloader args, if the '-c' flag is given to xm create. This
makes the default user experiance operate closer to user
expectations.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/python/xen/xm/create.py